﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="TeacherAdd.ascx.cs" Inherits="Assessment.Management.UI.Admin.UserControls.Teachers.TeacherAdd" %>

<div class="toolbar">
        <div>
            TẠO MỚI GIÁO VIÊN
        </div>
        <ul class="icon_toolbar">
            <li class="icon_save">
                <asp:LinkButton ID="btnSave" runat="server" OnClick="btnSave_Click">Lưu</asp:LinkButton>
            </li>
             <li class="icon_save">
                <asp:LinkButton ID="btnSave2" runat="server" OnClick="btnSaveTeacherAndNew_Click">Lưu và Tạo mới</asp:LinkButton>
            </li>
            <li class="icon_delete">
                <asp:LinkButton ID="btnExit" runat="server" OnClick="btnExit_Click">Thoát</asp:LinkButton>
            </li>
        </ul>
    </div>
    <div style="clear: both">
        <table cellpadding="0" cellspacing="0" class="tableDisplay">
            <tr>
                <th>
                    Tên giáo viên
                </th>
                <td>
                    <asp:TextBox runat="server" ID="txtTenGV" MaxLength="256" Width="200" />
                </td>
               <th>
                Chọn khoa
            </th>
            <td>
                <asp:DropDownList ID="ddlKhoa" runat="server" DataTextField="DepartmentName" DataValueField="ID"
                    AutoPostBack="True" Width="200px">
                </asp:DropDownList>
            </td>
            </tr>
             <tr>
                <th>
                    Địa chỉ
                </th>
                <td>
                    <asp:TextBox runat="server" ID="txtAdress" MaxLength="256" Width="200" />
                </td>
                <th>
                    Điện thoại
                </th>
                <td>
                    <asp:TextBox runat="server" ID="txtMobile" MaxLength="512" Width="200" />
                </td>
            </tr>
             <tr>
                <th>
                    Email
                </th>
                <td>
                    <asp:TextBox runat="server" ID="txtEmail" MaxLength="256" Width="200" />
                </td>
            </tr>
            <tr>
                <th>
                   Mã giáo viên
                </th>
                <td>
                    <asp:Label ID="txtMaGV" runat="server" Text=""></asp:Label>
                </td>
               
            </tr>
        </table>
        <asp:Label ID="lblMessage" runat="server"></asp:Label>
    </div>
<h4>
    Thêm giáo viên từ file Excel:</h4>
<br />
<table>
    <tr>
        <td>
            <b>Chọn file Excel:  </b>
        </td>
        <td>
            <asp:FileUpload ID="fileUploadGV" runat="server" />
        </td>
    </tr>
    <tr>
        <td>
        </td>
        <td>
            <asp:Button ID="btnUpload" runat="server" OnClick="btnUpload_Click" 
                Text="Upload" />
        </td>
    </tr>
    <tr>
        <td>
        </td>
        <td>
            <asp:Label ID="lblThongBao" runat="server" Text=""></asp:Label>
        </td>
    </tr>
</table>
<br />
